#!/usr/bin/python
# coding=UTF-8
front_cam = 0  # /dev/video0
right_cam = 1
left_cam = 2

EMLARGE_RATIO = 1.0  # scale的大小,原来是1.2
model_prefix = "/home/root/workspace/20210719/"  # 模型路径前缀

# mession config
# one more for background
MISSION_NUM = 9  # 原来是8
mission_low = 0.3
mission_high = 0.75
MISS_DURATION = 200
mission_label_list = {
    0: "background",
    1: "daijun",  # 代郡
    2: "dunhuang",  # 敦煌
    3: "dingxiangjun",  # 定襄郡
    4: "target",  # 靶标
    5: "trophies",  # 战利品（eva方块�
    6: "supplement",
    7: "barracks",
    8: "hotel"
}

# sign config
MAX_SIGN_PER_FRAME = 2
sign_list = {
    0: "background",
    1: "barracks",  # 宿营地（侧方停车）
    2: "fenglangjuxu",  # 封狼居胥（夹方块）
    3: "fortress",  # 城池
    4: "soldier",  # 士兵（倒小球）
    5: "target"  # 打靶
}

# sign models
sign = {
    "model": model_prefix + "models/sign",
    "threshold": 0.8,
    "label_list": sign_list,
    # label = 0 is background
    "class_num": 6
}

# task model
task = {
    "model": model_prefix + "models/task",
    "threshold": 0.80,
    "label_list": mission_label_list
}

# sign_threshold = 0.3
# task_threshold = 0.4
